<template>
    <div class="base">

        <div>
            <span>.</span>{{ t }}
        </div>
        <el-divider />
        <div class="main">
            <slot></slot>
        </div>

    </div>
</template>

<script>
import { ref } from 'vue';
export default {
    name: "infoBaseComponents",
    props: {
        title: {
            type: String,
            required: true,
        }
    },
    setup(props) {
        let t = ref(props.title);
        return {
            t,
        }
    }
}
</script>

<style scoped>
.base {
    width: auto;
    max-width: 95%;
    height: auto;
    background-color: white;
    border: 2px rgb(247, 248, 250) solid;
    border-radius: 20px;
    padding: 10px 5px 15px 5px;
    margin: 20px;
}

span {
    color: rgb(20, 133, 254);
    background: rgb(20, 133, 254);
    width: 5px;
    border-radius: 19px;
    margin-right: 2px;
}

.main {
    margin-left: 20px;
    margin-right: 20px;
}

.el-divider--horizontal {
    display: block;
    height: 1px;
    width: 100%;
    margin: 2px 0 15px 0px;
    border-top: 1px var(--el-border-color) var(--el-border-style);
}
</style>